Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Hide the Last User Name (All Windows)
Category: Home > Windows > Login and Authentication

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

This setting can be used to blank the username box on the logon screen. This will prevent people that are logging on from knowing the last user to access the system.

Open your registry and find the key for your Windows version below.

Windows 98 or Me
Open [HKEY_LOCAL_MACHINE\Network\Logon] and create new string value called "DontShowLastUser" and set it to "1" to hide the last user.

Windows 2000 or XP
Open [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System] and create a new string value, or modify the existing value, called "DontDisplayLastUserName" and set it to "1" to enable or "0" to disable the restriction.

Windows NT
Open [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] and create a new string value, or modify the existing value, called "DontDisplayLastUserName" and set it to "1" to enable or "0" to disable the restriction.

Restart Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|DontDisplayLastUserNameREG_DWORD"1" [Windows 2K, XP]|
|DontShowLastUserREG_SZ"1" [Windows 98, Me]|
-
|HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Sy...|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
System]

Name: DontDisplayLastUserName
Type: REG_SZ (String Value)
Value: (1 = remove username, 0 = display username)

Related Tweaks

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: October 24, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License